<template>
  <thead>
      <tr>
          <th v-if="option.enableCheck" @click="checkAllRow(!allCheck)"  class="cell-check">
              <Checkbox :value="allCheck"></Checkbox>
          </th>
          <th v-for="field in listFields" :key="field.code" :data-code="field.code">
              {{field.name}}
          </th>
      </tr>
  </thead>
</template>

<script>
import TableParticle from "./tableParticle";
export default {
  extends: TableParticle,
  name: "tableHead",
  subModuleStore: true,
  created() {}
};
</script>

<style>

</style>
